#pragma once

#include "TreeNodeData.h"

class CCmTreeData
{
public:
	CCmTreeData(void);
	~CCmTreeData(void);
public:
	enum{MAX_TREE_NODE_DATA = 200};

	int m_nTreeNodeDataCount;
	IpmiCmdItem* m_pTreeNodeDatas[MAX_TREE_NODE_DATA];
public:
	void AddTreeData(IpmiCmdItem treeNodeData[], int count);
	IpmiCmdItem* FindTreeNodeData(WCHAR* pString);
};

extern CCmTreeData g_CmTreeData;